package com.xiaoke.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class GetByArticleIdCommentVo {
    private Long id;
    //父ID
    private Long pid;
    //作者
    private String author;
    //邮箱
    private String email;
    //内容
    private String content;
    private List children;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createTime;
}
